package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.RechargeServiceItem;
import cn.wolfcode.crm.query.PageResult;
import cn.wolfcode.crm.query.RechargeServiceItemQueryObject;

import java.util.List;
import java.util.Map;

public interface IRechargeServiceItemService {

    void delete(Long id);

    RechargeServiceItem selectByPrimaryKey(Long id);

    List<RechargeServiceItem> selectAll();


    List<RechargeServiceItem> query(RechargeServiceItemQueryObject qo);

    void recharge(RechargeServiceItem rechargeItem);

    List<Map<String,Object>> getService(Long clientId);

    Integer getBeforeCount(Long clientId, String serviceName);
}
